From: kfraser@localhost.localdomain Date: Wed, 18 Oct 2006 10:38:59 +0000 (+0100) Subject: xc core structures are not Linux specific. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15589^2~60 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=68666c06e8026af131ad5ada05adb4dd638f82cf;p=xen.git xc core structures are not Linux specific. Signed-off-by: John Levon --- diff --git a/tools/libxc/xenctrl.h b/tools/libxc/xenctrl.h index f6d982952a..8689b18cbd 100644 --- a/tools/libxc/xenctrl.h +++ b/tools/libxc/xenctrl.h @@ -104,11 +104,6 @@ int xc_find_device_number(const char *name); * DOMAIN DEBUGGING FUNCTIONS */ -#ifdef __linux__ - -#include -#include - typedef struct xc_core_header { unsigned int xch_magic; unsigned int xch_nr_vcpus; @@ -120,6 +115,11 @@ typedef struct xc_core_header { #define XC_CORE_MAGIC 0xF00FEBED +#ifdef __linux__ + +#include +#include + void * map_domain_va_core( unsigned long domfd, int cpu,